← Back to issue list

snapcraft remote-build snapcraft.yaml validation too strict

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1992557
Type
issue
State
open
Author
~fnordahl
Labels
Created
2022-10-12 05:29:58.165049+00:00
Updated
2023-03-03 20:28:53.189541+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When attempting to use `snapcraft remote-build` I get this error: $ snapcraft remote-build --build-on arm64 snapcraft remote-build is experimental and is subject to change - use with caution. Issues while validating snapcraft.yaml: The 'environment/LD_LIBRARY_PATH' property does not match the required schema: '' is not of type 'number' or '' is too short Using an empty LD_LIBRARY_PATH is an requirement for some classic snaps [0][1] and building the snap locally or indeed through the Launchpad snap package infrastructure causes no issue. Why does the `snapcraft remote-build` command impose this restriction, and can it be lifted? 0: https://github.com/juju/charm-tools/blob/977ec1ff795f5a8692f8061fc16aa01adf9478cf/snap/snapcraft.yaml#L14-L23 1: https://github.com/openstack-charmers/octavia-diskimage-retrofit/blob/6de2a47491df9e983b458bc7d24f0e035c55c9c3/snap/snapcraft.yaml#L32-L44

Evaluation history

No evaluation history available.